package org.cs.mgr.before.service.impl;

import org.cs.core.service.impl.BaseService;
import org.cs.mgr.before.dao.IUserDao;
import org.cs.mgr.before.model.User;
import org.cs.mgr.before.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService extends BaseService<User> implements IUserService {

	//注入service
	@Autowired
	public IUserDao userDao;

	//通过id查user对象	
	@Override
	public User getUser(String id) {
		return this.userDao.getUser(id);
	}

}
